<?php
/**
 * 云打印平台
 * @author lss
 * 2017-08-30
 */
namespace soa\mp\order;

use soa\client;

class courierUser  extends client
{
    /**
     * 服务地址
     * @var string
     */
    public $service_url = 'http://mp.kuaidihelp.com/';

    /**
     * 服务名称
     * @var string
     */
    protected $service_name = 'kuaidihelp_mp';

	//添加
	public function insert($courierId,$name,$mobile,$province,$city,$district,$address){
		return $this->post("api/order/courierUser/insert",compact('courierId','name','mobile','province','city','district','address'));
	}

	//根据id查询
	public function getById($courierId,$id){
		return $this->post("api/order/courierUser/getById",compact('courierId','id'));
	}
}